package com.tongcao.cn.annotation;

import java.lang.annotation.*;

/**
 * @author:tongcao
 * @since:2019/7/9 19:46
 * Description:
 */
@Inherited
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RateLimit {


    int limitNum() default 20;//默认每秒放入桶中的token
}